#!/bin/bash
	if [ -f results.txt ]; then
		rm results.txt
	fi
	
	javac -Xlint:unchecked Game.java
	echo "Compiled successfully..."
	echo "Running on "$1" threads..."
	mpiexec -n $1 -f /mirror/hostFile java Game #> results.txt
	
	#tail -1 results.txt
